package com.tarena.luban.test;

import cn.tedu.csmall.bean.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UserConfiguration {
    @Bean
    public User user(){
        User user=new User();
        user.setUsername("王翠花");
        user.setPassword("123456");
        return user;
    }
}
